#ifndef PAGECONTROL_H
#define PAGECONTROL_H

#include "loginpage.h"
#include "registerpage.h"
#include "homepage.h"
class PageControl : public QObject
{
public:
    PageControl();
    ~PageControl();
    void show();
private:
    LoginPage* login;
    RegisterPage* regist;
    HomePage* home;
    void toLoginPage();
    void toRegisterPage();
    void toHomePage();
private slots:
    void toPage(QString page);
};

#endif // PAGECONTROL_H
